package com.xnyzc.lhy.common.penum;


import com.xnyzc.lhy.common.entity.PEnum;

/**
 * 所有者类型
 *
 * @Author: Long
 * @Date: 2019/1/4 14:32
 */
public enum EOwnerType implements PEnum<String> {
    owner("所有者"), employee("雇员");

    private String desc;

    EOwnerType(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String toString() {
        return name();
    }

    @Override
    public String toChString() {
        return desc;
    }
}
